#include <iostream>
#include <cstdio>
#include <math.h>
using namespace std;
#define N 10000
double f[N];
int main()
{
    int q = 0;
    double n;
    while (cin >> n)
    {
        if (fabs(n - 999) < 0.001)
            break;
        f[q++] = n;
    }
    for (int i = 1; i < q; i++)
        printf("%.2f\n", f[i] - f[i - 1]);
    printf("End of Output\n");
}